package com.ydkj.a37e_mall.Classes.Model.Response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017/2/8.
 */

public class SearchProductResp {


    /**
     * errmsg :
     * result : {"total":"1","data":[{"detail_url":"http://192.168.31.188/product/detailView/1","model":"","activity_id":"","status":"1","album":["http://oka115078.bkt.clouddn.com/9f2cda30d35c7212037246e5288ed63e.png","http://oka115078.bkt.clouddn.com/128f594265efc5aa57559dbdb81dc038.png"],"package":"<p>222<\/p>","type":"手机","stocks":"","specifications":"<p>333<\/p>","list_title":"123","content":"<p>111<\/p>","id":"1","price":"666.00","updated_at":"2017-01-24 18:11:35","market_price":"666.00","share_url":"http://192.168.31.188/product/view/1","sales":"0","description":"456","name":"123","created_at":"2017-01-24 18:11:35","brand":"apple","thumb":[],"list_thumb":"http://oka115078.bkt.clouddn.com/"}],"total_page":1,"access_token":"","current_page":1}
     * errno : 000
     */

    private String errmsg;
    private ResultEntity result;
    private String errno;

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public String getErrno() {
        return errno;
    }

    public void setErrno(String errno) {
        this.errno = errno;
    }

    public static class ResultEntity {
        /**
         * total : 1
         * data : [{"detail_url":"http://192.168.31.188/product/detailView/1","model":"","activity_id":"","status":"1","album":["http://oka115078.bkt.clouddn.com/9f2cda30d35c7212037246e5288ed63e.png","http://oka115078.bkt.clouddn.com/128f594265efc5aa57559dbdb81dc038.png"],"package":"<p>222<\/p>","type":"手机","stocks":"","specifications":"<p>333<\/p>","list_title":"123","content":"<p>111<\/p>","id":"1","price":"666.00","updated_at":"2017-01-24 18:11:35","market_price":"666.00","share_url":"http://192.168.31.188/product/view/1","sales":"0","description":"456","name":"123","created_at":"2017-01-24 18:11:35","brand":"apple","thumb":[],"list_thumb":"http://oka115078.bkt.clouddn.com/"}]
         * total_page : 1
         * access_token :
         * current_page : 1
         */

        private String total;
        private int total_page;
        private String access_token;
        private int current_page;
        private List<DataEntity> data;

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public String getAccess_token() {
            return access_token;
        }

        public void setAccess_token(String access_token) {
            this.access_token = access_token;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * detail_url : http://192.168.31.188/product/detailView/1
             * model :
             * activity_id :
             * status : 1
             * album : ["http://oka115078.bkt.clouddn.com/9f2cda30d35c7212037246e5288ed63e.png","http://oka115078.bkt.clouddn.com/128f594265efc5aa57559dbdb81dc038.png"]
             * package : <p>222</p>
             * type : 手机
             * stocks :
             * specifications : <p>333</p>
             * list_title : 123
             * content : <p>111</p>
             * id : 1
             * price : 666.00
             * updated_at : 2017-01-24 18:11:35
             * market_price : 666.00
             * share_url : http://192.168.31.188/product/view/1
             * sales : 0
             * description : 456
             * name : 123
             * created_at : 2017-01-24 18:11:35
             * brand : apple
             * thumb : []
             * list_thumb : http://oka115078.bkt.clouddn.com/
             */

            private String detail_url;
            private String model;
            private String activity_id;
            private String status;
            @SerializedName("package")
            private String packageX;
            private String type;
            private String stocks;
            private String specifications;
            private String list_title;
            private String content;
            private String id;
            private String price;
            private String updated_at;
            private String market_price;
            private String share_url;
            private String sales;
            private String description;
            private String name;
            private String created_at;
            private String brand;
            private String list_thumb;
            private List<String> album;
            private List<?> thumb;

            public String getDetail_url() {
                return detail_url;
            }

            public void setDetail_url(String detail_url) {
                this.detail_url = detail_url;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(String activity_id) {
                this.activity_id = activity_id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getPackageX() {
                return packageX;
            }

            public void setPackageX(String packageX) {
                this.packageX = packageX;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getStocks() {
                return stocks;
            }

            public void setStocks(String stocks) {
                this.stocks = stocks;
            }

            public String getSpecifications() {
                return specifications;
            }

            public void setSpecifications(String specifications) {
                this.specifications = specifications;
            }

            public String getList_title() {
                return list_title;
            }

            public void setList_title(String list_title) {
                this.list_title = list_title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public String getShare_url() {
                return share_url;
            }

            public void setShare_url(String share_url) {
                this.share_url = share_url;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getList_thumb() {
                return list_thumb;
            }

            public void setList_thumb(String list_thumb) {
                this.list_thumb = list_thumb;
            }

            public List<String> getAlbum() {
                return album;
            }

            public void setAlbum(List<String> album) {
                this.album = album;
            }

            public List<?> getThumb() {
                return thumb;
            }

            public void setThumb(List<?> thumb) {
                this.thumb = thumb;
            }
        }
    }
}

